package com.woniuxy.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.member.infra.model.Member;
import com.woniuxy.member.service.dto.MemberDto;
import com.woniuxy.member.service.param.AddCommentServiceParam;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
public interface MemberService extends IService<Member> {

    MemberDto addAndLoginMember(String wechatNum, String openId, String phone, String userName , Integer storeId,String memberImg);

    void exchangeFood(Integer memberId, Integer exchangeFoodId,Integer tableId);

    void exchangeCoupon(Integer memberId, Integer exchangeCouponId);

    MemberDto loginTable(Integer tableId, String wechatNum, String openId, String phone,Integer diningPerson, String userName, Integer storeId, String memberImg);

}
